package stud.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import stud.aistar.entity.Time;

import java.util.List;


/**
 * Created by Jcdz on 2019/9/28.
 */
public interface TimeMapper {

    @Select("select * from time")
    List<Time> findAll();

    @Select("select * from time where id=#{value}")
    Time findById(Integer id);
}
